/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package beans;

import java.util.Vector;
import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionMessage;

/**
 *
 * @author ABDELMOHSEN
 */
public class AddModBean extends org.apache.struts.action.ActionForm {
    
    private String modName;
    private boolean editpost;
    private boolean deletepost;
    private boolean editthread;
    private boolean deletethread;
    private boolean edituser;
    private boolean banuser;
    private boolean suspenduser;
    private Vector<PermToForum> forums;
    private String[] selected;

    public String[] getSelected() {
        return selected;
    }

    public void setSelected(String[] selected) {
        this.selected = selected;
    }
    
    public Vector<PermToForum> getForums() {
        return forums;
    }

    public void setForums(Vector<PermToForum> forums) {
        this.forums = forums;
    }
    public boolean isBanuser() {
        return banuser;
    }

    public void setBanuser(boolean banuser) {
        this.banuser = banuser;
    }

    public boolean isDeletepost() {
        return deletepost;
    }

    public void setDeletepost(boolean deletepost) {
        this.deletepost = deletepost;
    }

    public boolean isDeletethread() {
        return deletethread;
    }

    public void setDeletethread(boolean deletethread) {
        this.deletethread = deletethread;
    }

    public boolean isEditpost() {
        return editpost;
    }

    public void setEditpost(boolean editpost) {
        this.editpost = editpost;
    }

    public boolean isEditthread() {
        return editthread;
    }

    public void setEditthread(boolean editthread) {
        this.editthread = editthread;
    }

    public boolean isEdituser() {
        return edituser;
    }

    public void setEdituser(boolean edituser) {
        this.edituser = edituser;
    }

    public String getModName() {
        return modName;
    }

    public void setModName(String modName) {
        this.modName = modName;
    }

    public boolean isSuspenduser() {
        return suspenduser;
    }

    public void setSuspenduser(boolean suspenduser) {
        this.suspenduser = suspenduser;
    }

    
    public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
        return null;
    }
}
